package com.threeti.mecool.mobile.interfaces.dto;

import com.threeti.mecool.framework.util.Lists;

import java.io.Serializable;
import java.util.List;

public class ProjectWithOnlyStoresDto implements Serializable {
    private String id;
    private String name;
    private String code;

    private List<ProjectStoreDto> projStores = Lists.newArrayList();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<ProjectStoreDto> getProjStores() {
        return projStores;
    }

    public void setProjStores(List<ProjectStoreDto> projStores) {
        this.projStores = projStores;
    }

    public void addProjectStoreDto(ProjectStoreDto storeDto) {
        projStores.add(storeDto);
    }

}
